package org.csu.question.entity.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class KnowledgePointTreeDTO {
    private Long id;
    private String name;
    private String description;
    private String tag;
    private Long parentId;
    private Integer questionCount;
    private Integer level; // 层级
    private List<KnowledgePointTreeDTO> children;

    public KnowledgePointTreeDTO() {
        this.children = new ArrayList<>();
    }
}
